package org.codegallery.javagal.concurrent.cpj;

import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Point;

public class HorizontallyJoinedPair extends JoinedPair {

	public HorizontallyJoinedPair(Box l, Box r) {
		super(l, r);
	}

	public synchronized Box duplicate() {
		HorizontallyJoinedPair p = new HorizontallyJoinedPair(fst.duplicate(),
				snd.duplicate());
		p.setColor(getColor());
		return p;
	}

	@Override
	public Dimension size() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void show(Graphics g, Point origin) {
		// TODO Auto-generated method stub
		
	}

}